
if( SERVER ) then
   
 	AddCSLuaFile( "shared.lua" ) 
 	SWEP.HoldType = "pistol";
 
 end 

 
 SWEP.Base = "ep_base";
   
 SWEP.Spawnable			= false 
 SWEP.AdminSpawnable		= false 
   
if( CLIENT ) then

	
	SWEP.ViewModelFlip		= true	
	SWEP.CSMuzzleFlashes	= true
	
	SWEP.DrawCrosshair = false;

end

SWEP.ViewModel                  = "models/weapons/v_pist_glock18.mdl"
SWEP.WorldModel                 = "models/weapons/w_pist_glock18.mdl"

SWEP.Primary.Sound                      = Sound( "Weapon_Glock.Single" )

SWEP.PrintName = "Glock 17";
SWEP.EpiDesc = "Pistol.";


 SWEP.Primary.Recoil			= .1 
 SWEP.Primary.RecoilAdd			= .05
 SWEP.Primary.RecoilMin = .2
 SWEP.Primary.RecoilMax = .5
 
 SWEP.Primary.ViewPunchMul = .5;
 SWEP.Primary.Damage			= 7
 SWEP.Primary.NumShots		= 1 
 
 SWEP.EpiHoldType = "PISTOL";

SWEP.Primary.MaxAmmoClip = 17;
SWEP.Primary.Ammo = "smg1";
SWEP.Primary.AmmoString = " 9mm rounds";
SWEP.Primary.AmmoType = 1;
SWEP.Primary.Delay = .05;
SWEP.Primary.Automatic = false;
SWEP.Primary.SpreadCone = Vector( 0.02, 0.02, 0.02 );
 SWEP.Primary.ReloadDelay = 3.2;

 SWEP.Primary.IronSightPos = Vector( 4.4, 3, 1.0 );
 SWEP.Primary.IronSightAng = Vector( 0.0, 0.0, 0.0 );

SWEP.Primary.HolsteredPos = Vector( -0.8, -1.0, -10.0 );
SWEP.Primary.HolsteredAng = Vector( 0.0, -50.0, 0.0 );

 SWEP.ItemWidth = 1;
 SWEP.ItemHeight = 1;


SWEP.IconCamPos = Vector( 43, -200, 50 ) 
SWEP.IconLookAt = Vector( 6, 0, 3 ) 
SWEP.IconFOV = 4
SWEP.HUDWidth = 100;
SWEP.HUDHeight = 100;
SWEP.NicePhrase = "a Glock";
SWEP.LightWeight = true;

   